﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Janus.BaseEntitys
{
    public class OperateEnum
    {
        /// <summary>
        /// 子窗体操作类型
        /// </summary>
        public enum OperateType
        {
            /// <summary>
            /// 查看
            /// </summary>
            View = 0,

            /// <summary>
            /// 添加
            /// </summary>
            Add = 1,

            /// <summary>
            /// 修改
            /// </summary>
            Update = 2,

            /// <summary>
            /// 保存并新增
            /// </summary>
            SaveAdd = 3,

            /// <summary>
            /// 其它
            /// </summary>
            Other = 10,
             /// <summary>
            /// 变更
            /// </summary>
            Change = 11

        }

        /// <summary>
        /// 启用/停用
        /// </summary>
        public enum DataState
        {
            /// <summary>
            /// 停用
            /// </summary>
            Stop = 0,

            /// <summary>
            /// 启用
            /// </summary>
            Start = 1
        }

        /// <summary>
        /// 订单紧急与正常类型
        /// </summary>
        public enum OrderUrgencyType
        { 
            /// <summary>
            /// 正常订单
            /// </summary>
            Normal = 10,

            /// <summary>
            /// 紧急订单
            /// </summary>
            Urgency = 20
        }

        /// <summary>
        /// 审核与弃审
        /// </summary>
        public enum OrderState
        { 
            /// <summary>
            /// 审核
            /// </summary>
            Audit = 0,

            /// <summary>
            /// 弃审
            /// </summary>
            Abandon = 1
        }
    }
}
